﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ERPStudio;
using System.Data.SqlClient;

namespace ESRP
{
    public partial class SablonNoteContabileFrm : FrmWorkspace
    {
        public SablonNoteContabileFrm(ModuleClass mc):base(mc)
        {
            InitializeComponent();
        }

       

        private void SablonNoteContabileFrm_Load(object sender, EventArgs e)
        {
            SqlConnection con= DeschideConexiune(workConnString);
            this.aspnet_ApplicationsTableAdapter.Connection = con;
            this.aspnet_ApplicationsTableAdapter.Fill(this.eSRPSabloaneDataSet.aspnet_Applications);

            this.rulajeDocSablonTableAdapter.Connection = con;
            this.rulajeDocSablonTableAdapter.Fill(this.eSRPSabloaneDataSet.RulajeDocSablon);
            InchideConexiune(con);

            AddBindingSource(rulajeDocSablonBindingSource);

            AddTableAdaptor(rulajeDocSablonTableAdapter.Adapter);

        }
    }
}
